package general;

public abstract class AspectLibraryException extends Exception{
	private String title = "Operation Fail";
	public static final String INTERNAL_ERROR = "Internal Error Occurred";
	public static final String INTERNAL_DB_ERROR = "Database Error Occurred";
	
	protected AspectLibraryException(String message){
		super(message);
	}
	protected AspectLibraryException(String message, String title){
		super(message);
		this.title = title;
	}
	
	public String getExceptionTitle(){
		return title;
	}
}
